/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pwned.memory;

import com.sun.jna.Pointer;
import com.sun.jna.ptr.IntByReference;
import com.sun.jna.win32.StdCallLibrary;

/**
 *
 * @author Zlobniy
 */
public interface MyKernel32 extends StdCallLibrary {
    
    boolean WriteProcessMemory(Pointer p, int address, Pointer buffer, int size, IntByReference written);
    boolean ReadProcessMemory(Pointer hProcess, int inBaseAddress, Pointer outputBuffer, int nSize, IntByReference outNumberOfBytesRead);
    Pointer OpenProcess(int desired, boolean inherit, int pid);
    int GetLastError();
    
}
